import request from '@/utils/requset'

type LoginParams = {
  account: string
  password: string
}
export const loginService = ({ account, password }: LoginParams) => {
  return request.post('/login', {
    account,
    password
  })
}
